package com.wormpex.data.root.service;

import com.wormpex.data.root.model.bean.FailedTransmitMessage;

/**
 * Created by ouryousa on 2017/8/17.
 */
public interface FailedTransmitMessageService {
    void insert(FailedTransmitMessage failedTransmitMessage);
    FailedTransmitMessage getById(long id);
    void update(FailedTransmitMessage failedTransmitMessage);
    boolean rerunMsg(long id);
    boolean rerunMsg(FailedTransmitMessage failedTransmitMessage);
    void rerunMsgs();
}
